/**
 *  应急指挥-应急指挥信息收集与发布 api
 *  @module api/makeDecisionEmergency
 *  @author coder
 */

// API_HOST
import {
	API_HOST
} from '@/config'

// axios
import axios from '@u/axios'

/**
 * 发布信息查询
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const publishInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/emergencyInfo/publishInfo'
})

/**
 * 信息列表
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const publishInfoList = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/emergencyInfo/publishInfoList'
})

/**
 * 事件清单
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const eventList = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/emergencyInfo/eventList'
})